package com.flag.liutao.modules.role.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("角色权限管理")
public class RoleMenuIdParam {

    @ApiModelProperty("角色ID")
    @NotNull(message = "角色ID 不能为空")
    private Long roleId;

    @ApiModelProperty("权限ID")
    @NotNull(message = "权限ID 不能为空")
    private Long MenuId;

}
